import request from "@/utils/request";



export default {
  getList(page,size,condition) {
    return request({
      url:`/income/list?num=${page}&size=${size}`,
      method: 'post',
      data:condition
    })
},
  edit(incomeorder){
    return request({
      url:'/income/edit',
      method: 'put',
      data:incomeorder
    })
  },

  editNow(){
    return request({
      url:'/income/editNow',
      method: 'put',
    })
  },

  statusMore(ids){
    return request({
      url:`/income/statusMore?ids=${ids}`,
      method:'put',
      //data:ids
    })
  },

}
